import { ElMessage } from "element-plus";

const showDefaultmsg = message => ElMessage        (  message                   )
const showSuccessMsg = message => ElMessage        ({ message, type: 'success' }) 
const showWarningMsg = message => ElMessage        ({ message, type: 'warning' }) 
const showErrorMsg   = message => ElMessage.error  (  message                   )

export { showDefaultmsg, showSuccessMsg, showWarningMsg, showErrorMsg  } 
